<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <title>咕噜橙丨写博客</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
    <link rel="stylesheet" href="assets/css/main.css" />
    <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
    <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
    <link href="https://cdn.bootcss.com/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
    <link rel="stylesheet" href="css/editormd/editormd.min.css"/>
    <link rel="stylesheet" href="css/all.css">
    <link rel="stylesheet" href="css/editormd/editor.css">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <style>
        /*隐藏markdown全窗口预览不会关闭的bug，会导致其他fa选择器同时隐藏*/
        .fa{
            display: none;
        }
    </style>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="js/editormd/editormd.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
</head>
<body>
<div id="app">

    <div id="removeDiv">
        <header id="header">
            <a class="headChange" href="/index"><h1>Xzio</h1></a>
            <nav class="links">
                <ul>
                    <li><a href="#">首页</a></li>
                    <li><a href="#">文章</a></li>
                    <li><a href="#">微言</a></li>
                    <li><a href="#">留言板</a></li>
                    <li><a href="#">关于</a></li>
                </ul>
            </nav>
            <nav class="main">
                <ul>
                    <li class="search">
                        <a class="fa-search" href="#search">Search</a>
                        <form id="search" method="get" action="#">
                            <input type="text" name="query" placeholder="Search" />
                        </form>
                    </li>
                    <!--<li class="menu">-->
                        <!--<a class="fa-bars" href="#menu">Menu</a>-->
                    <!--</li>-->
                </ul>
            </nav>
        </header>
        <div id="writeArticle">
            <div class="zhy-editor">
                <div class="zhy-editor-input" id="zhy-editor-input">
                    <input id="zhy-editor-title" type="text" placeholder="输入文章标题">
                    <button type="button" class="publishBtn am-btn am-btn-danger" style="height: 50px">发布博客</button>
                </div>
            </div>
            <div class="zhy-editor-writing">
                <!--MarkDown的id标志 -->
                <div id="my-editormd">
                    <!-- 书写与实时显示的textarea -->
                    <textarea id="my-editormd-markdown-doc" name="my-editormd-markdown-doc" style="display:none;" class="editormd-markdown-textarea" placeholder="拉拉拉"></textarea>
                    <!-- 用于后端获取文档内容，Java中：request.getParameter("my-editormd-html-code")。 -->
                    <textarea id="my-editormd-html-code" name="my-editormd-html-code" style="display:none;"></textarea>
                </div>
            </div>

            <div class="notice-box notice-box-title">
                <i class="am-icon-exclamation-circle"></i>
                <span> 文章标题不能为空</span>
            </div>
            <div class="notice-box notice-box-content">
                <i class="am-icon-exclamation-circle"></i>
                <span> 文章內容不能为空</span>
            </div>
        </div>
    </div>

    <!-- 模态框（Modal） -->
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
        <div class="am-modal-dialog" style="border-radius: 5px;">
            <div class="am-modal-hd" style="text-align: left;margin:auto auto 5px 20px;height: 50px">发布博客
                <a href="javascript: void(0)" class="am-close am-close-alt am-close-spin" data-am-modal-close style="margin: 7px 10px auto auto">&times;</a>
            </div>
            <div class="am-modal-bd">
                <div class="article-setting">

                    <div class="article-type row">


                        <label class="publish-tag" style="margin-left: 10px">博客分类<strong>:</strong></label>
                        <div class="categories">
                            <select id="select-categories">
                                <option value="choose">请选择</option>
                            </select>
                            <span class="required">*</span>
                        </div>
                    </div>

                </div>
            </div>
            <div class="am-modal-footer" style="text-align: right;height: 45px">
                <button type="button" class="am-btn am-btn-default am-round" data-am-modal-close style="margin-right: 10px">取消</button>
                <button type="button" class="surePublishBtn am-btn am-btn-danger am-round" style="margin: 10px 15px 10px auto">
                    发表博客
                </button>
            </div>
        </div>
        <div class="notice-box notice-box-tags">
            <i class="am-icon-exclamation-circle"></i>
            <span> 文章标签不能为空</span>
        </div>
        <div class="notice-box notice-box-type">
            <i class="am-icon-exclamation-circle"></i>
            <span> 文章类型不能为空</span>
        </div>
        <div class="notice-box notice-box-categories">
            <i class="am-icon-exclamation-circle"></i>
            <span> 博客分类不能为空</span>
        </div>
        <div class="notice-box notice-box-grade">
            <i class="am-icon-exclamation-circle"></i>
            <span> 文章等级不能为空</span>
        </div>
        <div class="notice-box notice-box-originalAuthor">
            <i class="am-icon-exclamation-circle"></i>
            <span> 原作者不能为空</span>
        </div>
        <div class="notice-box notice-box-url">
            <i class="am-icon-exclamation-circle"></i>
            <span> 原文链接不能为空</span>
        </div>
    </div>

</div>


<script src="js/editormd/editor.js"></script>
</body>
</html>